<?php

use yii\widgets\DetailView;

/* @var $this yii\web\View */
/* @var $model backend\modules\party\models\Activity */

$this->title = '查看:' . $model->title;
?>
<div class="activity-view">

    <?= DetailView::widget([
        'model' => $model,
        'attributes' => [
            'id',
            'title',
            'type',
            'num',
            'time',
            'p_id',
            'content:ntext',
            'photo1',
            'photo2',
            'photo3',
            'photo4',
        ],
    ]) ?>

</div>



